﻿using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Abp.Dependency;
using EasyCaching.Core.Internal;
using Hicap.AuthorizationServer.Core.Models;

namespace Hicap.AuthorizationServer.Core.Managers
{
    public interface IAuthObjectRoleRelatedManager : IManagerBase<AuthObjectRoleRelated>, IEasyCaching,
    ITransientDependency
    {
        Task<int> GetCount(Func<AuthObjectRoleRelated, bool> query);

        Task<List<AuthObjectRoleRelated>> GetResult(Func<AuthObjectRoleRelated, bool> query);

        List<AuthObject> GetAuthRole(List<Role> roles);
    }
}